package com.mo.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

@FeignClient(name = "provide")//指定服务提供者
public interface ProvideFeignClient {

    @RequestMapping("/pro")
    public Map<String,String> getProvide();

}
